#ifndef FACE_COMP_MODULE
#define FACE_COMP_MODULE

#include "Hw3Types.h"
#include "Hw3TypesExtended.h"

/*oOoOoOoOoOoOoOoOoOoOoOoOooOoOoOoOoOoO*/
//			Face Comparison Module
/*oOoOoOoOoOoOoOoOoOoOoOoOooOoOoOoOoOoO*/
/*  This module is dedicated to comparing a newly added face with all the faces which were found before it and were
 *  added to the face book.
 */ 
 
// CompareFaceToFacebook
// ======================
// The function advances on a linked list of the found faces (AKA the face book), comparing each of them with the 
// face argument. The comparison is made by comparing the values of each grayscale pixel of the face 
// containing box (according to the restrictions and rules of this exercise)
// Inputs: 
//		- A pointer to a TFace containing the face we want to compare to the facebook. 
// Outputs:
//		- TRUE if two a match was found, FALSE otherwise.
BOOL CompareFaceToFacebook(TFace *FaceToCompare);

// CompareFaces
// ======================
// The function compares two faces based on the comparing rules that were defined in the exercise. 
// The comparison is made by comparing the values of each grayscale pixel of the face 
// containing box (according to the restrictions and rules of this exercise)
// Inputs: 
//		- Two pointer to TFace types to be compared
// Outputs:
//		- TRUE if the two faces match, FALSE otherwise.
BOOL CompareFaces(TFace *FirstFace, TFace *SecondFace); 
#endif